<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.chanyachting.emall.util.*"%>
<%@ page import="com.chanyachting.emall.domain.*" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
                <logic:iterate id="sale" name="companyForm" property="syList" indexId="i">
                <% String hasStyle = "class=\"light\""; if(i % 2 == 1) { hasStyle = "";}  %>
                  <li <%=hasStyle %>>
                      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="normal">
                        <tr>
                          <td width="30%" align="center" class="xx"><img src="${sale.imgUrl }" alt="${sale.title }" /></td>
                          <td width="25%"><u>${sale.name }</u><br />
                            年：${sale.buildYear }<br />
                          钓鱼游艇<br />长度：${sale.length }m(257'10")<br />客房：${sale.roomNumber }间<br />载客${sale.maxPersonNumber }人<br /></td>
                          <td width="16%">${sale.productPrice }万</td>
                          <td align="center">${sale.city }<br />目的地线路</td>
                          <td align="center">${sale.updateDate }<br />1分钟前更新</td>
                        </tr>
                        <tr>
                          <td align="center" class="xx"><a href="../sale/readProduct01.do?id=${sale.companyId}&productId=${sale.id}" title="${sale.title}">${sale.title}</a></td>
                          <td class="gray">预计交艇时间：${sale.payTime }</td>
                          <td colspan="3" class="gray"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td><a href="#"><img src="../images/st_09.gif" width="21" height="16" /></a></td>
                              <td><a href="#">Photo</a></td>
                              <td><a href="#"><img src="../images/st_11.gif" alt="" width="16" height="16" /></a></td>
                              <td><a href="#">Video</a></td>
                              <td><a href="#"><img src="../images/st_06.gif" width="16" height="16" /></a></td>
                              <td><a href="#">加入收藏</a></td>
                              <td><a href="read.html"><img src="../images/st_03.gif" width="67" height="18" /></a></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table>
                  </li>
               </logic:iterate>